<!-- saved from url=(0014)about:internet -->
<html>
<head>
<script id='2d-vertex-shader' type='x-shader/x-vertex'>
void main() {}
</script>

<script id='2d-fragment-shader' type='x-shader/x-fragment'>
void main() {}
</script>
<script type="text/javascript">
function trigger(img) {

  var canvas = document.getElementById('canvas');
  var gl = canvas.getContext('experimental-webgl');
  var gl1 = canvas.getContext('experimental-webgl');
  var gl2 = canvas.getContext('experimental-webgl');


 var vShader3 = gl1.createShader(gl1.VERTEX_SHADER);
 var vShaderScript3 = document.getElementById('2d-vertex-shader');
 var vShaderSource3 = vShaderScript3.text;
 gl1.shaderSource(vShader3, vShaderSource3);
 gl1.compileShader(vShader3);
 var vShader4 = gl2.createShader(gl2.VERTEX_SHADER);
 var vShaderScript4 = document.getElementById('2d-vertex-shader');
 var vShaderSource4 = vShaderScript4.text;
 gl2.shaderSource(vShader4, vShaderSource4);
 gl2.compileShader(vShader4);

 var fShader3 = gl1.createShader(gl1.FRAGMENT_SHADER);
 var fShaderScript3 = document.getElementById('2d-fragment-shader');
 var fShaderSource3 = fShaderScript3.text;
 gl1.shaderSource(fShader3, fShaderSource3);
 gl1.compileShader(fShader3);
 program1 = gl1.createProgram();
 gl1.attachShader(program1,vShader3);
 gl1.attachShader(program1,fShader3);
 gl1.linkProgram(program1);
 gl1.useProgram(program1);
 var fShader4 = gl2.createShader(gl2.FRAGMENT_SHADER);
 var fShaderScript4 = document.getElementById('2d-fragment-shader');
 var fShaderSource4 = fShaderScript4.text;
 gl2.shaderSource(fShader4, fShaderSource4);
 gl2.compileShader(fShader4);
 program2 = gl2.createProgram();
 gl2.attachShader(program2,vShader4);
 gl2.attachShader(program2,fShader4);
 gl2.linkProgram(program2);
 gl2.useProgram(program2);
  
 var tex1 = gl1.createTexture();
 var tex2 = gl2.createTexture();
  
  
  <glfuzz>

}

function start() {
  var ImageData = "";

  var img = document.createElement('img');
  img.src = ImageData;
  img.onload = function() { 
                 document.body.appendChild(img);
                 trigger(img); 
               };
}
</script>
</head>
<body onload="start();">
<canvas id="canvas" width="100" height="100"></canvas>
</body>
</html>
